refs: Use G_IO_ERROR_NOT_FOUND when a ref lookup fails
authorColin Walters <walters@verbum.org>
Tue, 6 Jan 2015 23:47:04 +0000 (18:47 -0500)
committerColin Walters <walters@verbum.org>
Tue, 6 Jan 2015 23:47:04 +0000 (18:47 -0500)
commitcf8d6848b3264eb5b92590d9802c1a0bd579b4c6
tree70727b7e7e8a49550e419095f954dc45c5a21ee9
parent86764dbf007fca1e42aacb830e3c1911b198be6e
refs: Use G_IO_ERROR_NOT_FOUND when a ref lookup fails

rpm-ostree had code to check for this, which didn't actually work.

I don't see a no backwards compatibility concern in changing this, as
it's unlikely a caller would try to sensibly disambiguate FAILED.
src/libostree/ostree-repo-refs.c